package com.example.mapstruct.complex_map;

public class CarDTO {
    private String price;
    private String customerName;
    private CustomerDTO vip;
    private String user;

    public CustomerDTO getVip() {
        return vip;
    }

    public void setVip(CustomerDTO vip) {
        this.vip = vip;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    @Override
    public String toString() {
        return "CarDTO{" +
                "price='" + price + '\'' +
                ", customerName='" + customerName + '\'' +
                ", vip=" + vip +
                ", user='" + user + '\'' +
                '}';
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
